Skip to content

Separate declarations from proof assurance - #87

Merged
iperev merged 1 commit into
mainfrom
codex/requirement-source-v2-design
Aug 10, 2026
Merged

Separate declarations from proof assurance#87
iperev merged 1 commit into
mainfrom
codex/requirement-source-v2-design

Conversation

@iperev

@iperev iperev commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replace assurance-sounding caller metadata with declaration-only evidence, falsifier, oracle-signal, supersession, and coverage vocabulary.
  • Preserve digest-bound requirement-authoring references and make migration parity explicitly caller-declared, including lossless record-level non-claims.
  • Advance requirement coverage output to v2 with exact root and row admission, complete retained test projections, canonical wire text, parent and diagnostic closure, and a coverageBasis commitment for owner scope and retained inventory.
  • Bind release coverage metrics to the actual CLI contract command inventory and protect high-risk scenarios with exact witness selectors.
  • Synchronize requirements, bindings, CLI contract, generated projections, ABI hashes, package version 0.3.0, and the machine-readable change record.
  • Repair the browser focus-contrast oracle without weakening accessibility assertions.

Proof

  • npx --yes npm@11.18.0 run check
  • go test -race ./internal/command/migrationparityadmission ./internal/command/requirementcoverageview ./internal/tools/coveragemetrics ./internal/tools/releasechange -count=1
  • New high-risk coverage closure falsifiers repeated 10 times
  • go run ./internal/tools/commandcontractgen --check
  • git diff --check
  • Self-hosting closeout: 69/69 requirements, 181 scenarios, 78 commands
  • Browser proof: 93/93 tests across Chromium, Firefox, and WebKit

Review Closure

Two frozen-diff review cycles covered runtime re-admission and public-contract/release authority. The first cycle found three closure gaps: non-canonical wire values, incomplete exact-selector coverage, and dropped migration-parity record non-claims. All three were corrected, the complete gate was rerun, and a fresh-context final cycle reported no findings on the corrected object.

Deferred Work

The temporary requirement-source-v2 design and implementation plan remain local and are intentionally excluded from this PR. A textual DSL or grouped source representation remains a bounded measured experiment; this change does not introduce a second source of truth or a second production parser.

Non-Claims

This PR does not prove native selector execution quality, evidence freshness or authenticity, provider CI completion, registry publication, deployment, rollout, or production readiness. Declaration routes remain mapping metadata and do not become assurance.

@iperev
iperev merged commit 9169b6c into main Aug 10, 2026
9 checks passed
@iperev
iperev deleted the codex/requirement-source-v2-design branch August 10, 2026 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant